/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
namespace DGZImp.BizEntity.DomainModels;

[Entity(TableCnName = "AGV事件状态", TableName = "eventdeal", DBServer = "AgvDbContext")]
public partial class eventdeal : AgvEntity
{
    /// <summary>
    ///AGV小车
    /// </summary>
    [SugarColumn(IsPrimaryKey = true)]
    [Key]
    [Display(Name = "AGV小车")]
    [MaxLength(20)]
    [Column(TypeName = "nvarchar(20)")]
    [Editable(true)]
    [Required(AllowEmptyStrings = false)]
    public string agvname { get; set; }

    /// <summary>
    ///事件码
    /// </summary>
    [Display(Name = "事件码")]
    [MaxLength(20)]
    [Column(TypeName = "nvarchar(20)")]
    [SugarColumn(ColumnName = "event")]
    [Editable(true)]
    public string event_code { get; set; } = string.Empty;

    /// <summary>
    ///状态
    /// </summary>
    [Display(Name = "状态")]
    [Column(TypeName = "sbyte")]
    [Editable(true)]
    public sbyte? success { get; set; }

    /// <summary>
    ///事件
    /// </summary>
    [Display(Name = "事件")]
    [Column(TypeName = "datetime")]
    [Editable(true)]
    public DateTime? datetime { get; set; }


}